deploy: Ensure that all directories we create are fsync()d
authorColin Walters <walters@verbum.org>
Tue, 8 Apr 2014 21:24:07 +0000 (17:24 -0400)
committerColin Walters <walters@verbum.org>
Fri, 11 Apr 2014 22:43:13 +0000 (18:43 -0400)
commit7acad0a2e59d313ff46c8aa93c73bbb9b31b163e
treed9c8e310b8cc5e12f5c28b1299cd1a8b9d91ff69
parentb19aea441abf82dab90ee29818ffa55a660b2e6d
deploy: Ensure that all directories we create are fsync()d

There's two halves to this; first, when we create an hierarchy, we
need to call fsync().  Second, we need to fsync again anytime after
we've modified a directory.
src/libostree/ostree-sysroot-deploy.c